﻿using Common.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Models.StatsData
{
    /// <summary>
    /// 直接人工有效产出工时
    /// </summary>
    public class m_bi_dir_emp_output_workhour : ModelBase
    {
        /// <summary>
        /// 直接员工Id
        /// </summary>
        public string dir_emp_id { get; set; }

        /// <summary>
        /// 直接员工编号
        /// </summary>
        public string dir_emp_code { get; set; }

        /// <summary>
        /// 直接员工姓名
        /// </summary>
        public string dir_emp_name { get; set; }

        /// <summary>
        /// 线体Id
        /// </summary>
        public string line_id { get; set; }

        /// <summary>
        /// 线体编号
        /// </summary>
        public string line_code { get; set; }

        /// <summary>
        /// 线体名称
        /// </summary>
        public string line_name { get; set; }

        public string line_supervisor_id { get; set; }

        public string line_supervisor_name { get; set; }

        public string line_supervisor_code { get; set; }

        /// <summary>
        /// 总装直接人工有效产出工时
        /// （总装采集工时 - 线体停线工时 - 线体待机工时）
        /// </summary>
        public decimal dir_emp_output_effective_workhour { get; set; }

        /// <summary>
        /// 停线工时（单位S）
        /// </summary>
        public decimal machine_failure_hour { get; set; }

        /// <summary>
        /// 待机工时（单位S）
        /// </summary>
        public decimal machine_standby_hour { get; set; }

        /// <summary>
        /// 工单Id
        /// </summary>
        public string work_id { get; set; }

        /// <summary>
        /// 工单编号
        /// </summary>
        public string work_code { get; set; }

        public decimal work_qty { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public string product_id { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string product_code { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime time { get; set; }

        /// <summary>
        /// ASSY/PACK
        /// </summary>
        public string section_code { get; set; }
    }
}
